import { dialog } from '@gis/lib/components/antd-dialog';

export function openHeadMsgDialog() {
  dialog({
    content: () => import('./components/msg-table-wrap.vue'),
    contentProps: {},
    dialogProps: {
      title: '消息列表',
      width: 'large',
      height: 'fixed',
      footer: null,
    },
  });
}

export function openMsgDetailsDialog(id) {
  dialog({
    content: () => import('./components/msg-notice-details.vue'),
    contentProps: {
      id,
    },
    dialogProps: {
      title: '详情',
      footer: 'null',
    },
  });
}
